﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LY.Entity;
using LY.Entity.Entities;
using LY.Entity.PageSearch;
using LY.Entity.SearchEntity;

namespace LY.Interface
{
    public interface IMemberLogService
    {

        PagedList<U_MemberLoginLog> QueryMemberLoginList(PageView view);
        PagedList<U_MemberLoginLog> QueryMemberLoginList(MemberLoginSearch search, PageView view);
        /// <summary>
        /// 新增登录日志
        /// </summary>
        /// <param name="memberloginlog"></param>
        /// <returns></returns>
        void AddMemberLoginLog(U_MemberLoginLog memberloginlog);
        /// <summary>
        /// 获取最后登陆的日志
        /// </summary>
        /// <param name="memberId"></param>
        /// <returns></returns>
        U_MemberLoginLog GetLastLoginLog(int memberId);


    }
}
